#include <stdio.h>

int main(int argc, char **argv)
{
    if (argc < 2)
        return 1;

    int i = 0, num = 0;
    while (argv[1][i]) {
        num = num * 10 + (argv[1][i] - '0');
        i++;
    }
    printf("%d\n", num);

    return 0;
}

